package com.example.superoa.model.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.fastjson.JSONArray;
import com.example.superoa.model.mappers.ReportMapper;

@Service
@Transactional(rollbackFor=Exception.class)
public class ReportService {
	@Autowired
	private ReportMapper rm;
	
	public JSONArray findAllReport() {
		return rm.findAllReport();
	}
	public JSONArray selectmonth() {
		return rm.selectmonth();
	}
	public JSONArray selectjidu() {
		return rm.selectjidu();
	}
	public JSONArray selectyear() {
		return rm.selectyear();
	}
	public JSONArray cx() {
		return rm.findStaffid();
	}
}











